package SV_PASSWD_PLAIN_HC;

import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java.io.IOException;
import java.sql.DriverManager;
import java.sql.SQLException;
import java.util.Properties;

public class Vulnerable {
    void test() throws IOException, SQLException {
        Properties prop = new Properties();
        prop.load(new FileInputStream("config.properties"));
        String password = prop.getProperty("password"); //Defect
        String url = "";
        String usr = "";
        DriverManager.getConnection(url, usr, password);
    }
}
